'Declaration Public Overloads Shared Function GetCertificateChain( _ ByVal rawData() As System.Byte, _ ByVal password As System.String, _ Optional ByVal revocationMode As System.Security.Cryptography.X509Certificates.X509RevocationMode, _ Optional ByVal verificationFlags As System.Security.Cryptography.X509Certificates.X509VerificationFlags _ ) As System.Security.Cryptography.X509Certificates.X509Certificate2()
public static System.Security.Cryptography.X509Certificates.X509Certificate2[] GetCertificateChain( System.byte[] rawData, System.string password, System.Security.Cryptography.X509Certificates.X509RevocationMode revocationMode, System.Security.Cryptography.X509Certificates.X509VerificationFlags verificationFlags )
Parameters
- rawData
- The byte array containing data in PFX or P12 format.
- password
- The password to use.
- revocationMode
- The revocation mode used to build the X509Chain.
- verificationFlags
- The verification flags used to build the X509Chain.
Return Value
The chain of certificates. The first element is the signing certificate, the last element is the certificate of CA.